﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="batch2.aspx.cs" Inherits="batch" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <h3>Batch R&#233;sum&#233; Generator</h3>
    <h3>MultiSelect Testing</h3>
    <div class="row-fluid">
        <div class="span4">
            <asp:ListBox runat="server" ID="lbEmployeeList" SelectionMode="Multiple" Height="300px">
                <asp:ListItem Text="Employee 1" Value="1"></asp:ListItem>
                <asp:ListItem Text="Employee 2" Value="2"></asp:ListItem>
                <asp:ListItem Text="Employee 3" Value="3"></asp:ListItem>
                <asp:ListItem Text="Employee 4" Value="4"></asp:ListItem>
                <asp:ListItem Text="Employee 5" Value="5"></asp:ListItem>
            </asp:ListBox>
        </div>
        <div class ="span3">
            <div class="row-fluid">
                <h4>Select CV Template</h4>
                <div class ="controls-row radio span12">
                        <asp:RadioButtonList runat="server" ID="rblResumeTemplate" CellPadding="0" 
                            CellSpacing="0" RepeatLayout="Flow" RepeatDirection="Horizontal" 
                            CssClass="rblNoBold inline">
                                <asp:ListItem Value="cvSTD" Text=" Standard Template" Selected="True"></asp:ListItem>
                                <asp:ListItem Value="cvJJ" Text="JJ Template"></asp:ListItem>
                        </asp:RadioButtonList>
                </div>
            </div>
            <br />
            <div class="row-fluid">
                <h4>Select File Type</h4>
                    <div class ="controls-row radio span12">
                        <asp:RadioButtonList runat="server" ID="rblResumeFormat" CellPadding="0" 
                            CellSpacing="0" RepeatLayout="Flow" RepeatDirection="Horizontal">
                                <asp:ListItem Text="Word (.docx)" Value="word" Selected="True"></asp:ListItem>
                                <asp:ListItem Text="PDF (.pdf)" Value="pdf"></asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    <h4>Enter Your Username:</h4>
                    <asp:TextBox runat="server" ID="tbUsername" Width="90%"></asp:TextBox>
                </div>
            </div>
            <div class="row-fluid">
                <div class="span12">
                    <asp:Button runat="server" ID="btnSubmit" Text="Generate CV" 
                        OnClick="Generate_Resume" CssClass="btn btn-large btn-primary" />
                    <asp:Label runat="server" ID="lblmessages"></asp:Label>
                </div>
            </div>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <strong>Your Resumes will be saved to:</strong>
            &nbsp;
            <asp:label runat="server" ID="hlSavedPath"></asp:label>
        </div>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <h4> Selected Employees for testing:</h4>
            <asp:GridView ID="gvSelectedEmployees" runat="server"></asp:GridView>
        </div>
    </div>
    
 </asp:Content>

